import { Base } from '../../../utils/base.js';
class HomeIndex extends Base {
  constructor() {
    super();
  }

  get_friend(data, callback) {  //是否领取优惠券
    var param = {
      url: 'user/get_friend',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }




};
export { HomeIndex };